home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / Xm / XmCreateSimpleOptionMenu.z / XmCreateSimpleOptionMenu
Encoding:
Text File  |  2002-10-03  |  5.7 KB  |  133 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu - A RowColumn widget convenience
  10.           creation function
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/RowColumn.h>
  14.           WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu(
  15.           WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
  16.           SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
  17.           AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
  18.           CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
  19.  
  20.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  21.           This page documents Motif 2.1.
  22.  
  23.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  24.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu creates an instance of a RowColumn
  25.           widget of type XXXXmmmmMMMMEEEENNNNUUUU____OOOOPPPPTTTTIIIIOOOONNNN and returns the associated
  26.           widget ID.
  27.  
  28.           This routine creates an OptionMenu and its submenu
  29.           containing PushButtonGadget or CascadeButtonGadget children.
  30.           The name of each button is bbbbuuuuttttttttoooonnnn_____n, where _n is an integer
  31.           from 0 (zero) to the number of buttons in the menu minus 1.
  32.           The name of each separator is sssseeeeppppaaaarrrraaaattttoooorrrr_____n, where _n is an
  33.           integer from 0 (zero) to the number of separators in the
  34.           menu minus 1.  Buttons and separators are named and created
  35.           in the order they are specified in the RowColumn simple menu
  36.           creation resources supplied in the argument list.
  37.  
  38.           _p_a_r_e_n_t    Specifies the parent widget ID
  39.  
  40.           _n_a_m_e      Specifies the name of the created widget
  41.  
  42.           _a_r_g_l_i_s_t   Specifies the argument list
  43.  
  44.           _a_r_g_c_o_u_n_t  Specifies the number of attribute/value pairs in
  45.                     the argument list (_a_r_g_l_i_s_t)
  46.  
  47.           The user can specify resources in a resource file for the
  48.           automatically created widgets and gadgets of an OptionMenu.
  49.           These widgets (or gadgets) and the associated OptionMenu
  50.           areas are
  51.  
  52.           Option Menu Label Gadget
  53.                     OOOOppppttttiiiioooonnnnLLLLaaaabbbbeeeellll
  54.  
  55.           Option Menu Cascade Button
  56.                     OOOOppppttttiiiioooonnnnBBBBuuuuttttttttoooonnnn
  57.  
  58.           A number of resources exist specifically for use with this
  59.           and other simple menu creation routines.  The only button
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 10/3/02)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXXUUUU))))NNNNIIIIXXXX SSSSyyyysssstttteeeemmmmXXXXVVVVmmmmCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu((((3333XXXX))))
  71.  
  72.  
  73.  
  74.           types allowed in the XXXXmmmmNNNNbbbbuuuuttttttttoooonnnnTTTTyyyyppppeeee resource are
  75.           XXXXmmmmPPPPUUUUSSSSHHHHBBBBUUUUTTTTTTTTOOOONNNN, XXXXmmmmCCCCAAAASSSSCCCCAAAADDDDEEEEBBBBUUUUTTTTTTTTOOOONNNN, XXXXmmmmSSSSEEEEPPPPAAAARRRRAAAATTTTOOOORRRR, and
  76.           XXXXmmmmDDDDOOOOUUUUBBBBLLLLEEEE____SSSSEEEEPPPPAAAARRRRAAAATTTTOOOORRRR.  For a complete definition of RowColumn
  77.           and its associated resources, see XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3).
  78.  
  79.      RRRREEEETTTTUUUURRRRNNNN
  80.           Returns the RowColumn widget ID.
  81.  
  82.      RRRREEEELLLLAAAATTTTEEEEDDDD
  83.           XXXXmmmmCCCCrrrreeeeaaaatttteeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu(3), XXXXmmmmCCCCrrrreeeeaaaatttteeeeRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3), XXXXmmmmRRRRoooowwwwCCCCoooolllluuuummmmnnnn(3),
  84.           and XXXXmmmmVVVVaaaaCCCCrrrreeeeaaaatttteeeeSSSSiiiimmmmpppplllleeeeOOOOppppttttiiiioooonnnnMMMMeeeennnnuuuu(3).
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 10/3/02)
  130.  
  131.  
  132.  
  133.